package com.video.demo.domain;


import com.video.demo.service.OutHandler;

import java.io.Serializable;
import java.lang.invoke.SerializedLambda;

/**
 * 任务处理实现
 * @author lmc
 * @since jdk1.7
 * @version 2020-05-24
 */
public class TaskEntity implements Serializable {
    private String id;

    private Process process;

    private OutHandler outHandler;


    public TaskEntity(String id, Process process, OutHandler outHandler) {
        this.id = id;
        this.process = process;
        this.outHandler = outHandler;
    }

    public Process getProcess() {
        return process;
    }

    public void setProcess(Process process) {
        this.process = process;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public OutHandler getOutHandler() {
        return outHandler;
    }

}
